package com.alibaba.csp.sentinel.cluster.client.config;

public class ClusterClientAssignConfig {

    private String serverHost;
    private Integer serverPort;

    public ClusterClientAssignConfig() {
    }

    public ClusterClientAssignConfig(String serverHost, Integer serverPort) {
        this.serverHost = serverHost;
        this.serverPort = serverPort;
    }

    public String getServerHost() {
        return serverHost;
    }

    public ClusterClientAssignConfig setServerHost(String serverHost) {
        this.serverHost = serverHost;
        return this;
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public ClusterClientAssignConfig setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
        return this;
    }

    @Override
    public String toString() {
        return "ClusterClientAssignConfig{" +
                "serverHost='" + serverHost + '\'' +
                ", serverPort=" + serverPort +
                '}';
    }
}
